home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / qdeck / sockets / makefile next >
Encoding:
Makefile  |  1993-07-15  |  1.2 KB  |  46 lines

  1. # if use qmake remove these two macros.
  2. COMPILER_PATH = c:\djgpp\bin
  3. HOME = c:\dvx
  4.  
  5. CFLAGS= -O -c -D MSDOS
  6.  
  7. .c.o:
  8.     gcc $(CFLAGS) $<
  9.  
  10. L = -lsys -lc -lm
  11.  
  12.  
  13. all : udaemon.exe tdaemon.exe uclient.exe tclient.exe
  14.     rem If $(HOME) is not the location of DESQview/X or if $(COMPILER_PATH) is not
  15.     rem the location of DJGPP you will have edit this makefile. Also if
  16.     rem $(COMPILER_PATH) is not the location of DJGPP you will alter 
  17.     rem tcptestd.dvp and udptedtd.dvp.
  18.     copy services $(HOME)\network
  19.  
  20. tdaemon.exe : tdaemon.o
  21.     gcc -o tdaemon tdaemon.o $(L)
  22.     strip tdaemon
  23.     copy $(COMPILER_PATH)\go32.exe  /b+ tdaemon /b tdaemon.exe /b
  24.     copy tcptestd.dvp $(HOME)\network
  25.     del tdaemon
  26.  
  27. udaemon.exe : udaemon.o
  28.     gcc -o udaemon udaemon.o $(L)
  29.     strip udaemon
  30.     copy $(COMPILER_PATH)\go32.exe  /b+ udaemon /b udaemon.exe /b
  31.     copy udptestd.dvp $(HOME)\network
  32.     del udaemon
  33.  
  34. tclient.exe : tclient.o
  35.     gcc -o tclient tclient.o $(L)
  36.     strip tclient
  37.     copy $(COMPILER_PATH)\go32.exe  /b+ tclient /b tclient.exe /b
  38.     del tclient
  39.  
  40. uclient.exe : uclient.o
  41.     gcc -o uclient uclient.o $(L)
  42.     strip uclient
  43.     copy $(COMPILER_PATH)\go32.exe  /b+ uclient /b uclient.exe /b
  44.     del uclient
  45.  
  46.